/**
 * 
 */
package org.crud4j.portlet;

/**
 * @author Edgar Poce
 */
public enum CrudContextKey {

	ACTION_KEY("action"), ID_KEY("id"), BEAN_KEY("bean"), PAGE_KEY("page"), PAGE_SIZE_KEY(
			"pageSize"), BEANS_KEY("beans"), BEAN_CLASS_KEY("beanClass"), ERROR_KEY(
			"error"), EMPTY_BEAN("emptyBean"), CURRENT_VIEW("currentView"), CRUD_SERVICE(
			"crud.service"), FILTER_KEY("filters"), MORE_PAGES_KEY("morePages"), NEW_BEAN_KEY(
			"newBean"), BEAN_CLASSES_KEY("beanClasses"), BROWSETYPE_KEY(
			"browsetype");

	private String key;

	private CrudContextKey(String key) {
		this.key = key;
	}

	/**
	 * @return Returns the key.
	 */
	public String getKey() {
		return key;
	}

}
